package com.wgchao.authodemo.infrastructure.exception;

import lombok.Data;

/**
 * @ClassName: ParamDefectException
 * @author: wgchao
 * @createTime: 2019/12/10 4:04 PM
 * @Description: 参数缺失异常
 */
@Data
public class ParamDefectException extends RuntimeException {
    private String msg;
    private Integer code = 4002;

    public ParamDefectException(String message) {
        super(message);
        this.msg = message;
    }
}
